/*
 * @Author: Aro
 * @Date: 2024-01-29 19:59:36
 */
import 'package:flutter/material.dart';

class ScreenUtil {
  static double statusBarHeight(BuildContext context) =>
      MediaQuery.of(context).padding.top;
  static double appBarHeight = AppBar().preferredSize.height;
  static double navBarHeight(BuildContext context) =>
      statusBarHeight(context) + appBarHeight;
  static double appWidth(BuildContext context) =>
      MediaQuery.of(context).size.width;
}
